package cn.echo.modules.sys.entity;

import java.util.Date;

/**
 * Created by LSF_ on 2017/5/10.
 */
public class User {
    public static final String DEL_NORMAL = "0";
    public static final String DEL_DEL = "1";

    private String id;
    private String username;
    private String password;
    private Date createDate;
    private Date loginDate;
    private String delFlag;
    private String email;
    private String createBy;
    private Date updateDate;
    private String updateBy;

    public static String getDelNormal() {
        return DEL_NORMAL;
    }

    public static String getDelDel() {
        return DEL_DEL;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", createDate=" + createDate +
                ", loginDate=" + loginDate +
                ", delFlag='" + delFlag + '\'' +
                ", email='" + email + '\'' +
                ", createBy=" + createBy +
                ", updateDate=" + updateDate +
                ", updateBy='" + updateBy + '\'' +
                '}';
    }
}
